package com.zzw.basic.classloader;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class MyInvocationHandler implements InvocationHandler {

	@Override
	public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
		System.out.println(method);
		if(args != null){
			for(Object val:args){
				System.out.println(val);
			}
		}
		else{

		}
		return null;
	}

}
